
instance02-1:     file format elf32-littlearm


Disassembly of section .init:

000102ec <_init>:
   102ec:	e1a0c00d 	mov	ip, sp
   102f0:	e92ddff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
   102f4:	e24cb004 	sub	fp, ip, #4
   102f8:	e91baff0 	ldmdb	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}

Disassembly of section .plt:

000102fc <printf@plt-0x14>:
   102fc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)
   10300:	e59fe004 	ldr	lr, [pc, #4]	; 1030c <_init+0x20>
   10304:	e08fe00e 	add	lr, pc, lr
   10308:	e5bef008 	ldr	pc, [lr, #8]!
   1030c:	000102e8 	.word	0x000102e8

00010310 <printf@plt>:
   10310:	e28fc600 	add	ip, pc, #0, 12
   10314:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   10318:	e5bcf2e8 	ldr	pc, [ip, #744]!	; 0x2e8

0001031c <abort@plt>:
   1031c:	e28fc600 	add	ip, pc, #0, 12
   10320:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   10324:	e5bcf2e0 	ldr	pc, [ip, #736]!	; 0x2e0

00010328 <__deregister_frame_info@plt>:
   10328:	e28fc600 	add	ip, pc, #0, 12
   1032c:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   10330:	e5bcf2d8 	ldr	pc, [ip, #728]!	; 0x2d8

00010334 <__uClibc_main@plt>:
   10334:	e28fc600 	add	ip, pc, #0, 12
   10338:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   1033c:	e5bcf2d0 	ldr	pc, [ip, #720]!	; 0x2d0

00010340 <__register_frame_info@plt>:
   10340:	e28fc600 	add	ip, pc, #0, 12
   10344:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   10348:	e5bcf2c8 	ldr	pc, [ip, #712]!	; 0x2c8

Disassembly of section .text:

0001034c <_start>:
   1034c:	e3a0b000 	.word	0xe3a0b000
   10350:	e3a0e000 	.word	0xe3a0e000
   10354:	e49d1004 	.word	0xe49d1004
   10358:	e1a0200d 	.word	0xe1a0200d
   1035c:	e52d2004 	.word	0xe52d2004
   10360:	e52d0004 	.word	0xe52d0004
   10364:	e59fc010 	.word	0xe59fc010
   10368:	e52dc004 	.word	0xe52dc004
   1036c:	e59f000c 	.word	0xe59f000c
   10370:	e59f300c 	.word	0xe59f300c
   10374:	eaffffee 	.word	0xeaffffee
   10378:	ebffffe7 	.word	0xebffffe7
   1037c:	00010514 	.word	0x00010514
   10380:	000104c0 	.word	0x000104c0
   10384:	000102ec 	.word	0x000102ec

00010388 <deregister_tm_clones>:
   10388:	e59f301c 	ldr	r3, [pc, #28]	; 103ac <deregister_tm_clones+0x24>
   1038c:	e59f001c 	ldr	r0, [pc, #28]	; 103b0 <deregister_tm_clones+0x28>
   10390:	e0603003 	rsb	r3, r0, r3
   10394:	e3530006 	cmp	r3, #6
   10398:	912fff1e 	bxls	lr
   1039c:	e59f3010 	ldr	r3, [pc, #16]	; 103b4 <deregister_tm_clones+0x2c>
   103a0:	e3530000 	cmp	r3, #0
   103a4:	012fff1e 	bxeq	lr
   103a8:	e12fff13 	bx	r3
   103ac:	0002061f 	.word	0x0002061f
   103b0:	0002061c 	.word	0x0002061c
   103b4:	00000000 	.word	0x00000000

000103b8 <register_tm_clones>:
   103b8:	e59f1024 	ldr	r1, [pc, #36]	; 103e4 <register_tm_clones+0x2c>
   103bc:	e59f0024 	ldr	r0, [pc, #36]	; 103e8 <register_tm_clones+0x30>
   103c0:	e0601001 	rsb	r1, r0, r1
   103c4:	e1a01141 	asr	r1, r1, #2
   103c8:	e0811fa1 	add	r1, r1, r1, lsr #31
   103cc:	e1b010c1 	asrs	r1, r1, #1
   103d0:	012fff1e 	bxeq	lr
   103d4:	e59f3010 	ldr	r3, [pc, #16]	; 103ec <register_tm_clones+0x34>
   103d8:	e3530000 	cmp	r3, #0
   103dc:	012fff1e 	bxeq	lr
   103e0:	e12fff13 	bx	r3
   103e4:	0002061c 	.word	0x0002061c
   103e8:	0002061c 	.word	0x0002061c
   103ec:	00000000 	.word	0x00000000

000103f0 <__do_global_dtors_aux>:
   103f0:	e92d4010 	push	{r4, lr}
   103f4:	e59f402c 	ldr	r4, [pc, #44]	; 10428 <__do_global_dtors_aux+0x38>
   103f8:	e5d43000 	ldrb	r3, [r4]
   103fc:	e3530000 	cmp	r3, #0
   10400:	18bd8010 	popne	{r4, pc}
   10404:	ebffffdf 	bl	10388 <deregister_tm_clones>
   10408:	e59f301c 	ldr	r3, [pc, #28]	; 1042c <__do_global_dtors_aux+0x3c>
   1040c:	e3530000 	cmp	r3, #0
   10410:	0a000001 	beq	1041c <__do_global_dtors_aux+0x2c>
   10414:	e59f0014 	ldr	r0, [pc, #20]	; 10430 <__do_global_dtors_aux+0x40>
   10418:	ebffffc2 	bl	10328 <__deregister_frame_info@plt>
   1041c:	e3a03001 	mov	r3, #1
   10420:	e5c43000 	strb	r3, [r4]
   10424:	e8bd8010 	pop	{r4, pc}
   10428:	0002061c 	.word	0x0002061c
   1042c:	00000000 	.word	0x00000000
   10430:	0001052c 	.word	0x0001052c

00010434 <frame_dummy>:
   10434:	e59f3040 	ldr	r3, [pc, #64]	; 1047c <frame_dummy+0x48>
   10438:	e92d4010 	push	{r4, lr}
   1043c:	e3530000 	cmp	r3, #0
   10440:	0a000002 	beq	10450 <frame_dummy+0x1c>
   10444:	e59f1034 	ldr	r1, [pc, #52]	; 10480 <frame_dummy+0x4c>
   10448:	e59f0034 	ldr	r0, [pc, #52]	; 10484 <frame_dummy+0x50>
   1044c:	ebffffbb 	bl	10340 <__register_frame_info@plt>
   10450:	e59f0030 	ldr	r0, [pc, #48]	; 10488 <frame_dummy+0x54>
   10454:	e5903000 	ldr	r3, [r0]
   10458:	e3530000 	cmp	r3, #0
   1045c:	1a000001 	bne	10468 <frame_dummy+0x34>
   10460:	e8bd4010 	pop	{r4, lr}
   10464:	eaffffd3 	b	103b8 <register_tm_clones>
   10468:	e59f301c 	ldr	r3, [pc, #28]	; 1048c <frame_dummy+0x58>
   1046c:	e3530000 	cmp	r3, #0
   10470:	0afffffa 	beq	10460 <frame_dummy+0x2c>
   10474:	e12fff33 	blx	r3
   10478:	eafffff8 	b	10460 <frame_dummy+0x2c>
   1047c:	00000000 	.word	0x00000000
   10480:	00020620 	.word	0x00020620
   10484:	0001052c 	.word	0x0001052c
   10488:	00020538 	.word	0x00020538
   1048c:	00000000 	.word	0x00000000

00010490 <add>:
#include <stdio.h>
#include <string.h>

int add(int var1, int var2)
{
   10490:	e52db004 	push	{fp}		; (str fp, [sp, #-4]!)
   10494:	e28db000 	add	fp, sp, #0
   10498:	e24dd00c 	sub	sp, sp, #12
   1049c:	e50b0008 	str	r0, [fp, #-8]
   104a0:	e50b100c 	str	r1, [fp, #-12]
    return var1 + var2;
   104a4:	e51b2008 	ldr	r2, [fp, #-8]
   104a8:	e51b300c 	ldr	r3, [fp, #-12]
   104ac:	e0823003 	add	r3, r2, r3
}
   104b0:	e1a00003 	mov	r0, r3
   104b4:	e24bd000 	sub	sp, fp, #0
   104b8:	e49db004 	pop	{fp}		; (ldr fp, [sp], #4)
   104bc:	e12fff1e 	bx	lr

000104c0 <main>:

int main()
{
   104c0:	e92d4800 	push	{fp, lr}
   104c4:	e28db004 	add	fp, sp, #4
   104c8:	e24dd008 	sub	sp, sp, #8
    int nvar1 = 0x123;
   104cc:	e59f3034 	ldr	r3, [pc, #52]	; 10508 <main+0x48>
   104d0:	e50b3008 	str	r3, [fp, #-8]
    int nvar2 = 0x456;
   104d4:	e59f3030 	ldr	r3, [pc, #48]	; 1050c <main+0x4c>
   104d8:	e50b300c 	str	r3, [fp, #-12]

    printf("0x%x\n", add(nvar1, nvar2));
   104dc:	e51b100c 	ldr	r1, [fp, #-12]
   104e0:	e51b0008 	ldr	r0, [fp, #-8]
   104e4:	ebffffe9 	bl	10490 <add>
   104e8:	e1a03000 	mov	r3, r0
   104ec:	e1a01003 	mov	r1, r3
   104f0:	e59f0018 	ldr	r0, [pc, #24]	; 10510 <main+0x50>
   104f4:	ebffff85 	bl	10310 <printf@plt>

    return 0;
   104f8:	e3a03000 	mov	r3, #0
}
   104fc:	e1a00003 	mov	r0, r3
   10500:	e24bd004 	sub	sp, fp, #4
   10504:	e8bd8800 	pop	{fp, pc}
   10508:	00000123 	.word	0x00000123
   1050c:	00000456 	.word	0x00000456
   10510:	00010524 	.word	0x00010524

Disassembly of section .fini:

00010514 <_fini>:
   10514:	e1a0c00d 	mov	ip, sp
   10518:	e92ddff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
   1051c:	e24cb004 	sub	fp, ip, #4
   10520:	e91baff0 	ldmdb	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
